<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var i = 0;
        var sum = 0;
        do {
            console.log('今年'+i+'岁')
            i++;
            sum += i;
        }while (i<100)
        console.log(sum);


        do {
             var ask = prompt('爱我吗');
        }while (ask !== '我爱你')
    </script>
</head>
<body>

</body>
</html>